import React from 'react'
import {useRoutes} from "react-router-dom"
import routerconfig from '../router'
import {Suspense} from "react"
function App() {
  // 相当于vue一级路由的routerview
  return (
       <Suspense fallback={<div>。。。loaidng</div>}>
            {
                useRoutes(routerconfig)
            }
       </Suspense>
  )
}

export default App